package cn.codeforfun.vote;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2017/2/17 0017.
 */
public interface VoteDaoCustom {
    Page<Vote> findAllPage(Pageable pageable);

    Vote findVoteWithSubject(Long id);

    List<Vote> findVoteWithSubject();

    Vote findOneWithPrize(Long id);

    Vote findWithMaterial(Long voteId);
}
